import request from "@/utils/request";
import { AxiosPromise } from "axios";
import { answeringForm, answeringForms } from "./types";

/**
 *
 * @param queryParams
 */
export function Answerings(question?: string): AxiosPromise<string[]> {
  return request({
    url: "/api/common/BigModelNew/sendQuestion/?question=" + question,
    method: "get",
  });
}

/**
 *
 * @param queryParams
 */
export function EvaluateAnswerings(content?: string): AxiosPromise<string[]> {
  return request({
    url: "/api/work/sendQuestion?content=" + content,
    method: "get",
  });
}

/**
 *
 * @param queryParams
 */
export function aiAnswerings(question?: string): AxiosPromise<string[]> {
  return request({
    url: "/api/learnPath/sendQuestion?question=" + question,
    method: "get",
  });
}
